package com.itcast.infohide.service;


import com.itcast.infohide.entity.OperateLogPO;
import com.itcast.infohide.entity.FileVO;
import com.itcast.infohide.entity.User;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

import java.util.List;

public interface UserService {

    ResponseEntity saveUser(User user);

    User findById(String phone);

    User findById(long uid);

    long fromToken(String token);

    ResponseEntity loginVerification(User user);

    String log(OperateLogPO operateLogPO);

    FileVO upload(MultipartFile file);

    List<OperateLogPO> select(Integer isEmbed);

    String compare(String file1, String file2);
}
